Disable colors for signer token in beta (#2379)
This commit is contained in:
parent
1d1a3b9d02
commit
2d623f14db
@ -68,7 +68,7 @@ fn codes_path(path: String) -> PathBuf {
|
||||
|
||||
pub fn new_token(path: String) -> Result<String, String> {
|
||||
generate_new_token(path)
|
||||
.map(|code| format!("This key code will authorise your System Signer UI: {}", Colour::White.bold().paint(code)))
|
||||
.map(|code| format!("This key code will authorise your System Signer UI: {}", code))
|
||||
.map_err(|err| format!("Error generating token: {:?}", err))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user