Disable colors for signer token in beta (#2379)

This commit is contained in:
Tomasz Drwięga 2016-09-28 23:33:50 +02:00 committed by Gav Wood
parent 1d1a3b9d02
commit 2d623f14db

View File

@ -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))
}