|
|
@ -1,4 +1,4 @@
|
|
|
|
export const MEMBER_STATUS = "memberStatus";
|
|
|
|
export const MEMBER_STATUS = 'memberStatus';
|
|
|
|
export const LOGIN_STATUS = 'loginStatus';
|
|
|
|
export const LOGIN_STATUS = 'loginStatus';
|
|
|
|
export const SUPPORTER_FOUND = 'SUPPORTER FOUND';
|
|
|
|
export const SUPPORTER_FOUND = 'SUPPORTER FOUND';
|
|
|
|
export const SUPPORTER_LISTED = 'SUPPORTER LISTED';
|
|
|
|
export const SUPPORTER_LISTED = 'SUPPORTER LISTED';
|
|
|
@ -10,19 +10,12 @@ export const MEMBER_LOGIN_LAME = 'MEMBER LOGIN LAME';
|
|
|
|
export const MEMBER_EXISTS = 'USER ALREADY EXISTS';
|
|
|
|
export const MEMBER_EXISTS = 'USER ALREADY EXISTS';
|
|
|
|
export const MEMBER_LOGIN_MISSING = 'Missing credentials';
|
|
|
|
export const MEMBER_LOGIN_MISSING = 'Missing credentials';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class AuthEvent {
|
|
|
|
|
|
|
|
|
|
|
|
class AuthEvent
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//--------------------------
|
|
|
|
//--------------------------
|
|
|
|
// methods
|
|
|
|
// methods
|
|
|
|
//--------------------------
|
|
|
|
//--------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//--------------------------
|
|
|
|
//--------------------------
|
|
|
|
// event handlers
|
|
|
|
// event handlers
|
|
|
|
//--------------------------
|
|
|
|
//--------------------------
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export default new AuthEvent
|
|
|
|
export default new AuthEvent();
|
|
|
|