mirror of
https://github.com/stoatchat/for-web.git
synced 2026-07-15 07:15:54 -04:00
[PR #760] fix: Bypass email registration page if the server configuration has email disabled #764
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/stoatchat/for-web/pull/760
Author: @Dadadah
Created: 2/14/2026
Status: 🔄 Open
Base:
main← Head:fix/emailscreen📝 Commits (1)
6ce5fcefix: Bypass email validation flow if email validation is turned off📊 Changes
2 files changed (+9 additions, -6 deletions)
View changed files
📝
packages/client/components/auth/src/flows/FlowCreate.tsx(+8 -5)📝
packages/stoat.js(+1 -1)📄 Description
After registration, the verify email page is shown regardless of whether email is enabled or not. This PR makes the account creation flow skip email verification if the server is configured with email disabled.
Requires https://github.com/stoatchat/javascript-client-sdk/pull/127 due to the configuration currently not being loaded automatically by the javascript client sdk.
Resolves #759
Tested by @alice_werefox and @dadadah
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.