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"
|
||||
rouille = "3.0.0"
|
||||
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"
|
||||
deunicode = "1.0"
|
||||
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]
|
||||
dispatch = "0.1.4"
|
||||
|
@ -80,11 +80,7 @@ impl ClientInit {
|
||||
&player.alias,
|
||||
&password
|
||||
);
|
||||
match auth_client.sign_in(
|
||||
&player.alias,
|
||||
&password,
|
||||
socket_addr.ip(),
|
||||
) {
|
||||
match auth_client.sign_in(&player.alias, &password) {
|
||||
Ok(token) => token.serialize(),
|
||||
// TODO: Properly deal with it
|
||||
Err(e) => panic!(
|
||||
|
Loading…
Reference in New Issue
Block a user