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