This commit is contained in:
core 2023-04-02 16:01:09 -04:00
parent 2d7607bbc1
commit fcadd98701
Signed by: core
GPG Key ID: FDBF740DADDCEECF
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
DATABASE_URL=postgres://postgres@localhost/hotel
DATABASE_URL=postgres://postgres@localhost/trifid

View File

@ -45,7 +45,7 @@ pub async fn signup_request(data: Data<AppState>, req: Json<SignupRequest>) -> H
}
};
if user.is_empty() {
if !user.is_empty() {
return HttpResponse::Unauthorized().json(APIErrorsResponse {
errors: vec![
APIError {