mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Updated to latest and greatest auth version.
This commit is contained in:
parent
50b845d1c3
commit
584dcddba9
810
Cargo.lock
generated
810
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -31,4 +31,4 @@ prometheus = "0.7"
|
|||||||
prometheus-static-metric = "0.2"
|
prometheus-static-metric = "0.2"
|
||||||
rouille = "3.0.0"
|
rouille = "3.0.0"
|
||||||
portpicker = { git = "https://github.com/wusyong/portpicker-rs", branch = "fix_ipv6" }
|
portpicker = { git = "https://github.com/wusyong/portpicker-rs", branch = "fix_ipv6" }
|
||||||
authc = { git = "https://gitlab.com/veloren/auth.git" }
|
authc = { git = "https://gitlab.com/veloren/auth.git", rev = "7c1abde83f0ea7d83b0e7c655fac82eb9bb3d7ad" }
|
||||||
|
@ -64,7 +64,7 @@ rust-argon2 = "0.5"
|
|||||||
bincode = "1.2"
|
bincode = "1.2"
|
||||||
deunicode = "1.0"
|
deunicode = "1.0"
|
||||||
uvth = "3.1.1"
|
uvth = "3.1.1"
|
||||||
authc = { git = "https://gitlab.com/veloren/auth.git" }
|
authc = { git = "https://gitlab.com/veloren/auth.git", rev = "7c1abde83f0ea7d83b0e7c655fac82eb9bb3d7ad" }
|
||||||
|
|
||||||
[target.'cfg(target_os = "macos")'.dependencies]
|
[target.'cfg(target_os = "macos")'.dependencies]
|
||||||
dispatch = "0.1.4"
|
dispatch = "0.1.4"
|
||||||
|
@ -80,11 +80,7 @@ impl ClientInit {
|
|||||||
&player.alias,
|
&player.alias,
|
||||||
&password
|
&password
|
||||||
);
|
);
|
||||||
match auth_client.sign_in(
|
match auth_client.sign_in(&player.alias, &password) {
|
||||||
&player.alias,
|
|
||||||
&password,
|
|
||||||
socket_addr.ip(),
|
|
||||||
) {
|
|
||||||
Ok(token) => token.serialize(),
|
Ok(token) => token.serialize(),
|
||||||
// TODO: Properly deal with it
|
// TODO: Properly deal with it
|
||||||
Err(e) => panic!(
|
Err(e) => panic!(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user