mirror of
https://github.com/warp-tech/warpgate.git
synced 2024-09-20 06:46:17 +08:00
Merge branch 'main' of https://github.com/warp-tech/warpgate
This commit is contained in:
commit
5c0e695faa
|
@ -1360,7 +1360,8 @@ impl ServerSession {
|
|||
login_url.set_fragment(Some(&format!("/login/{auth_state_id}")));
|
||||
|
||||
russh::server::Auth::Partial {
|
||||
name: Cow::Owned(format!(
|
||||
name: Cow::Borrowed("Warpgate authentication"),
|
||||
instructions: Cow::Owned(format!(
|
||||
concat!(
|
||||
"-----------------------------------------------------------------------\n",
|
||||
"Warpgate authentication: please open the following URL in your browser:\n",
|
||||
|
@ -1375,7 +1376,6 @@ impl ServerSession {
|
|||
.collect::<Vec<_>>()
|
||||
.join(" ")
|
||||
)),
|
||||
instructions: Cow::Borrowed(""),
|
||||
prompts: Cow::Owned(vec![(Cow::Borrowed("Press Enter when done: "), true)]),
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue