Skip to content

Commit

Permalink
Make login notification less intrusive
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoBernardino committed Aug 1, 2022
1 parent 9ba48b8 commit 1fb432d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions public/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,7 @@
const { success, error } = await loginOrSignupMethod(email, password);

if (success) {
const { Swal } = window;

Swal.fire(
'Alright!',
'That looks alright. Let\'s get on with it!',
'success',
);
window.app.showNotification('Logged in successfully.', 'success');

window.app.showValidSessionElements();
loginForm.reset();
Expand Down

0 comments on commit 1fb432d

Please sign in to comment.