You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-29 22:01:14 +03:00
Add an email field in the registration form
This commit is contained in:
@ -331,6 +331,12 @@ impl AccountVerifyEmail {
|
||||
}
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub fn and_maybe(mut self, action: Option<PostAuthAction>) -> Self {
|
||||
self.post_auth_action = action;
|
||||
self
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub fn and_then(mut self, action: PostAuthAction) -> Self {
|
||||
self.post_auth_action = Some(action);
|
||||
|
Reference in New Issue
Block a user