Auth - Login/Signup/Forgot/Rest

This commit is contained in:
Rotimi Best
2022-12-03 22:45:01 +01:00
parent 8e169241e1
commit 3b0ff79c60
21 changed files with 881 additions and 283 deletions
+6 -1
View File
@@ -2,7 +2,7 @@ import { writable } from 'svelte/store';
export const user = writable({
openAuthModal: false,
fetchingUser: false,
fetchingUser: null,
isLoggedIn: false,
currentSession: null,
expiresAt: 0,
@@ -10,8 +10,13 @@ export const user = writable({
export const profile = writable({
id: null,
fullname: '',
avatar_url:
'https://pbs.twimg.com/profile_images/1416443682157473795/dGtFbtht_normal.jpg',
username: 'Elon',
user_id: '',
email: '',
role: '',
goal: '',
source: '',
});