Skip to content

Commit

Permalink
Update 3.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhorin committed Nov 26, 2023
1 parent bc38c23 commit aab4fc5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "areto",
"version": "3.6.1",
"version": "3.6.2",
"description": "Adaptive Node.js MVC Framework",
"author": {
"name": "Maxim Khorin",
Expand All @@ -22,7 +22,7 @@
"express": "~4.18.2",
"express-session": "~1.17.2",
"moment": "~2.29.4",
"mongodb": "~6.1.0",
"mongodb": "~6.3.0",
"mysql": "~2.18.1",
"path-to-regexp": "~6.2.0"
},
Expand Down
4 changes: 2 additions & 2 deletions security/WebUser.js
Expand Up @@ -21,8 +21,8 @@ module.exports = class WebUser extends Base {
return this.auth.enableSession;
}

getTitle (defaults = '[guest]') {
return this.identity ? this.identity.getTitle() : defaults;
getTitle (guest = '[guest]') {
return this.identity ? this.identity.getTitle() : guest;
}

getId () {
Expand Down

0 comments on commit aab4fc5

Please sign in to comment.