Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
medapp_eksad
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qorri_di
medapp_eksad
Commits
081b48a3
Commit
081b48a3
authored
Sep 20, 2022
by
Budi Prasetyo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reset password with firebase
parent
bd7005d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
forget_password.dart
lib/auth/forget_password.dart
+1
-1
No files found.
lib/auth/forget_password.dart
View file @
081b48a3
...
...
@@ -86,7 +86,7 @@ class _ForgotPasswordState extends State<ForgotPassword> {
await
FirebaseAuth
.
instance
.
sendPasswordResetEmail
(
email:
emailController
.
text
.
trim
());
showSnackBar
(
context
,
'Reset Password Sent, Check your email inbox or spam'
);
Navigator
.
of
(
context
).
pop
Until
((
route
)
=>
route
.
isCurrent
);
Navigator
.
of
(
context
).
pop
AndPushNamed
(
'/login'
);
}
on
FirebaseAuthException
catch
(
e
){
print
(
e
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment