-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Merge pull request #125 from Badhan-BUET-Zone/test-branch"
- Loading branch information
1 parent
40758dc
commit 70326d2
Showing
13 changed files
with
43 additions
and
228 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
const save = () => { | ||
localStorage.setItem('passwordEmailRecoveryTimestamp', String(new Date().getTime())) | ||
} | ||
const load = () => { | ||
const result = localStorage.getItem('passwordEmailRecoveryTimestamp') | ||
if (!result) return null | ||
return parseInt(result) | ||
} | ||
const clear = () => { | ||
localStorage.removeItem('passwordEmailRecoveryTimestamp') | ||
} | ||
|
||
export default { | ||
save, load, clear | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
import emailRecovery from './emailRecovery' | ||
import token from './token' | ||
import theme from './theme' | ||
import members from './members' | ||
import publicContacts from './publicContacts' | ||
import frontendSettings from './frontendSettings' | ||
import myProfile from "./myProfile"; | ||
import donationCountYearMonth from './donationCountYearMonth' | ||
const reset = () => { | ||
localStorage.clear() | ||
} | ||
|
||
export default { | ||
emailRecovery, | ||
token, | ||
theme, | ||
members, | ||
publicContacts, | ||
frontendSettings, | ||
myProfile, | ||
donationCountYearMonth, | ||
reset | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.