fix(web): tell that user may need to be approved
This commit is contained in:
parent
9c47a15ca6
commit
b23a85aca2
1 changed files with 4 additions and 0 deletions
|
@ -52,6 +52,7 @@ pub fn RegisterPage() -> impl IntoView {
|
||||||
set_error.set(Some(
|
set_error.set(Some(
|
||||||
view! { <blockquote>no credentials provided</blockquote> }
|
view! { <blockquote>no credentials provided</blockquote> }
|
||||||
));
|
));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
spawn_local(async move {
|
spawn_local(async move {
|
||||||
|
@ -75,6 +76,9 @@ pub fn RegisterPage() -> impl IntoView {
|
||||||
reset_ref!(summary_ref);
|
reset_ref!(summary_ref);
|
||||||
reset_ref!(avatar_url_ref);
|
reset_ref!(avatar_url_ref);
|
||||||
reset_ref!(banner_url_ref);
|
reset_ref!(banner_url_ref);
|
||||||
|
set_error.set(Some(
|
||||||
|
view! { <blockquote>registration successful! your user may need to be approved by an administrator before you can login</blockquote> }
|
||||||
|
));
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue