Skip to content

Commit

Permalink
fix: Update method call to use createEmailPasswordSession instead of …
Browse files Browse the repository at this point in the history
…createSession
  • Loading branch information
silicia-apps committed Apr 15, 2024
1 parent b7c6028 commit 23cbc1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/appwrite/src/lib/services/user.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export class SioAppwriteUserService implements SioAuthPluginServiceInterface {
this.loggerService.info(
`[SioAppwriteUserService][createSessionWithCredentials] - request login for ${username}`,
);
const session = await this.account.createSession(username, password);
const session = await this.account.createEmailPasswordSession(username, password);
this.loggerService.info(
`[SioAppwriteUserService][createSessionWithCredentials] - Logged`,
);
Expand Down

0 comments on commit 23cbc1a

Please sign in to comment.