Commit 5614a4de authored by Taddeus Kroes's avatar Taddeus Kroes

Security class now implements the Singleton interface

parent ce617dee
...@@ -118,7 +118,7 @@ interface AuthorizedUser { ...@@ -118,7 +118,7 @@ interface AuthorizedUser {
function getRole(); function getRole();
} }
class Security { class Security implements Singleton {
const SESSION_TOKEN_NAME = 'auth_token'; const SESSION_TOKEN_NAME = 'auth_token';
const SESSION_NAME_USERDATA = 'auth_userdata'; const SESSION_NAME_USERDATA = 'auth_userdata';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment