diff --git a/web/src/page/register.rs b/web/src/page/register.rs index 854ce58d..f54ba278 100644 --- a/web/src/page/register.rs +++ b/web/src/page/register.rs @@ -52,6 +52,7 @@ pub fn RegisterPage() -> impl IntoView { set_error.set(Some( view! {
no credentials provided} )); + return; } spawn_local(async move { @@ -75,6 +76,9 @@ pub fn RegisterPage() -> impl IntoView { reset_ref!(summary_ref); reset_ref!(avatar_url_ref); reset_ref!(banner_url_ref); + set_error.set(Some( + view! {
registration successful! your user may need to be approved by an administrator before you can login} + )); }, }, }