Restrict account names that users can signup with #44

Merged
silver merged 2 commits from #23-restricted-account-names into main 2023-09-16 14:11:50 +00:00
Showing only changes of commit 35952a2030 - Show all commits

View file

@ -35,7 +35,6 @@ pub mod account {
#[derive(Debug, Deserialize, Serialize)] #[derive(Debug, Deserialize, Serialize)]
pub struct DiscordResult { pub struct DiscordResult {
discord: String, discord: String,
email: String,
wolves_id: String, wolves_id: String,
} }
@ -59,7 +58,6 @@ pub mod account {
if !accounts.is_empty() { if !accounts.is_empty() {
let tmp = DiscordResult { let tmp = DiscordResult {
discord, discord,
email: item.mail,
wolves_id: accounts[0].id_wolves.to_owned(), wolves_id: accounts[0].id_wolves.to_owned(),
}; };