-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Majesty 12 #11
base: main
Are you sure you want to change the base?
Majesty 12 #11
Conversation
app.logout(); | ||
router.replace("/login/"); | ||
|
||
alert('logged out successfully') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make use of Toast instead of using alert dialog box
Try to keep your code clean and organised |
This way because I was trying to add new features but later I realised this can be done in other way, that's why I left code there and add comment that this can be done from other file easily But for sure will take care of that |
CSOC Task 3 Submission
I have completed the following tasks
auth_required.js
andno_auth_required.js