Add proper logout, add rebuilding user from local storage
[arvados-workbench2.git] / src / store / auth-action.ts
index 719cb81be7469893c2bb907196fdaca78dd782f7..3343a57e86bc9e7c7a07a2f185c1fd6978f8ebcc 100644 (file)
@@ -17,6 +17,7 @@ const actions = unionize({
     SAVE_API_TOKEN: ofType<string>(),
     LOGIN: {},
     LOGOUT: {},
+    INIT: {},
     USER_DETAILS_REQUEST: {},
     USER_DETAILS_SUCCESS: ofType<UserDetailsResponse>()
 }, {