invites button
This commit is contained in:
parent
21efb909fb
commit
e20b1f25a5
@ -170,6 +170,11 @@ button.left:hover, button.left:focus {
|
||||
box-shadow: inset 0.5em 0 0 0 whitesmoke;
|
||||
}
|
||||
|
||||
a {
|
||||
color: whitesmoke;
|
||||
font-size: 150%;
|
||||
}
|
||||
|
||||
svg {
|
||||
fill: none;
|
||||
stroke: whitesmoke;
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mnml pvp tbs</title>
|
||||
<title>mnml.gg</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
<meta name=apple-mobile-web-app-capable content=yes>
|
||||
|
||||
@ -30,6 +30,11 @@ function renderLogin({ submitLogin, submitRegister }) {
|
||||
onClick={() => submitRegister(name, password)}>
|
||||
Register
|
||||
</button>
|
||||
<button
|
||||
className="login-btn"
|
||||
onClick={() => document.location.assign('https://discord.gg/YJJgurM')}>
|
||||
Discord + Invites
|
||||
</button>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@ -61,7 +61,6 @@ pub fn account_from_token(token: String, tx: &mut Transaction) -> Result<Account
|
||||
pub fn account_create(params: AccountCreateParams, tx: &mut Transaction) -> Result<Account, Error> {
|
||||
let id = Uuid::new_v4();
|
||||
|
||||
info!("{:?} {:?}", params.password, params.password.len());
|
||||
if params.password.len() < PASSWORD_MIN_LEN {
|
||||
return Err(err_msg("password must be at least 12 characters"));
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user