mirror of
https://github.com/plankanban/planka.git
synced 2025-12-17 01:11:23 +03:00
Change id generation algorithm, display notifications total on the main page
This commit is contained in:
@@ -12,7 +12,7 @@ module.exports = function defineCurrentUserHook(sails) {
|
||||
let id;
|
||||
|
||||
try {
|
||||
id = Number(sails.helpers.verifyToken(accessToken));
|
||||
id = sails.helpers.verifyToken(accessToken);
|
||||
} catch (unusedError) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user