~nicohman/wyvern

8671bb362c34948f404658a62306b6dd891da877 — nicohman 5 years ago e38cea7 1.4.0
Increment version number and add to error text on login
2 files changed, 2 insertions(+), 2 deletions(-)

M Cargo.toml
M src/main.rs
M Cargo.toml => Cargo.toml +1 -1
@@ 1,6 1,6 @@
[package]
name = "wyvern"
version = "1.3.1"
version = "1.4.0"
authors = ["nicohman <nicohman@demenses.net>"]
license="GPL-3.0"
repository="https://git.sr.ht/~nicohman/wyvern"

M src/main.rs => src/main.rs +1 -1
@@ 493,7 493,7 @@ pub fn login() -> Token {
                error!("Could not login to GOG.");
                let err = token.err().unwrap();
                match err.kind() {
                    IncorrectCredentials => error!("Wrong email or password"),
                    IncorrectCredentials => error!("Wrong email or password. Sometimes this fails because GOG's login form can be inconsistent, so you may just need to try again."),
                    NotAvailable => error!("You've triggered the captcha. 5 tries every 24 hours is allowed before the captcha is triggered. You should probably use the alternate login method or wait 24 hours"),
                    _ => error!("Error: {:?}", err),
                };