Skip to content

Commit cb30e0c

Browse files
committed
Renamed F.onAuthorize().
1 parent 3539c9f commit cb30e0c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

authorization-roles/definitions/authorization.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// AUTHORIZATION
33
// ================================================
44

5-
F.onAuthorization = function(req, res, flags, next) {
5+
F.onAuthorize = function(req, res, flags, next) {
66

77
var cookie = req.cookie('__user');
88

authorization/definitions/authorization.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// AUTHORIZATION
33
// ================================================
44

5-
F.onAuthorization = function(req, res, flags, callback) {
5+
F.onAuthorize = function(req, res, flags, callback) {
66

77
var cookie = req.cookie(F.config.cookie);
88
if (cookie === null || cookie.length < 10) {

0 commit comments

Comments
 (0)