mirror of
https://github.com/hanskokx/arcane_framework.git
synced 2026-05-14 02:19:08 +02:00
Updated example in README
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
@@ -443,9 +443,9 @@ final passwordResetFinished = await Arcane.auth.resetPassword(
|
||||
);
|
||||
|
||||
// Sign in with email and password
|
||||
final result = await Arcane.auth.loginWithEmailAndPassword(
|
||||
email: "user@example.com",
|
||||
password: "password123",
|
||||
final result = await Arcane.auth.login(
|
||||
input: ("email": "user@example.com", "password": "password123")
|
||||
onLoggedIn: () => Arcane.log("User logged in"),
|
||||
);
|
||||
|
||||
// Sign out
|
||||
|
||||
Reference in New Issue
Block a user