Restrict account names that users can signup with #44
1 changed files with 0 additions and 2 deletions
|
@ -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(),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue