Deploy the GitHub username change
This commit is contained in:
20
ui/auth.vue
20
ui/auth.vue
@@ -28,7 +28,7 @@
|
||||
<div
|
||||
class="field"
|
||||
:class="{
|
||||
error: passphraseErr.length > 0 || error.length > 0
|
||||
error: passphraseErr.length > 0 || error.length > 0,
|
||||
}"
|
||||
>
|
||||
Passphrase
|
||||
@@ -49,7 +49,7 @@
|
||||
class="message"
|
||||
>
|
||||
A valid password is required in order to use this
|
||||
<a href="https://github.com/niruix/sshwifty">Sshwifty</a>
|
||||
<a href="https://github.com/nirui/sshwifty">Sshwifty</a>
|
||||
instance
|
||||
</div>
|
||||
<div v-else class="error">
|
||||
@@ -79,20 +79,20 @@ export default {
|
||||
}
|
||||
|
||||
el.focus();
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
props: {
|
||||
error: {
|
||||
type: String,
|
||||
default: ""
|
||||
}
|
||||
default: "",
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
submitting: false,
|
||||
passphrase: "",
|
||||
passphraseErr: ""
|
||||
passphraseErr: "",
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
@@ -100,7 +100,7 @@ export default {
|
||||
if (newVal.length > 0) {
|
||||
this.submitting = false;
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
mounted() {},
|
||||
methods: {
|
||||
@@ -120,7 +120,7 @@ export default {
|
||||
this.passphraseErr = "";
|
||||
|
||||
this.$emit("auth", this.passphrase);
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
Copyright © 2019-2020 Rui NI <nirui@gmx.com>
|
||||
</p>
|
||||
<p class="copy">
|
||||
<a href="https://github.com/niruix/sshwifty" target="blank">
|
||||
<a href="https://github.com/nirui/sshwifty" target="blank">
|
||||
Source code
|
||||
</a>
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
<p>
|
||||
Sshwifty is a free software, you can deploy it on your own trusted
|
||||
infrastructure.
|
||||
<a href="https://github.com/niruix/sshwifty" target="_blank"
|
||||
<a href="https://github.com/nirui/sshwifty" target="_blank"
|
||||
>Learn more</a
|
||||
>
|
||||
</p>
|
||||
@@ -92,54 +92,54 @@ export default {
|
||||
window: Window,
|
||||
"connect-switch": ConnectSwitch,
|
||||
"connect-known": ConnectKnown,
|
||||
"connect-new": ConnectNew
|
||||
"connect-new": ConnectNew,
|
||||
},
|
||||
props: {
|
||||
display: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
default: false,
|
||||
},
|
||||
inputting: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
default: false,
|
||||
},
|
||||
presets: {
|
||||
type: Array,
|
||||
default: () => []
|
||||
default: () => [],
|
||||
},
|
||||
restrictedToPresets: {
|
||||
type: Boolean,
|
||||
default: () => false
|
||||
default: () => false,
|
||||
},
|
||||
knowns: {
|
||||
type: Array,
|
||||
default: () => []
|
||||
default: () => [],
|
||||
},
|
||||
knownsLauncherBuilder: {
|
||||
type: Function,
|
||||
default: () => []
|
||||
default: () => [],
|
||||
},
|
||||
knownsExport: {
|
||||
type: Function,
|
||||
default: () => []
|
||||
default: () => [],
|
||||
},
|
||||
knownsImport: {
|
||||
type: Function,
|
||||
default: () => []
|
||||
default: () => [],
|
||||
},
|
||||
connectors: {
|
||||
type: Array,
|
||||
default: () => []
|
||||
default: () => [],
|
||||
},
|
||||
busy: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
default: false,
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
tab: "new",
|
||||
canSelect: true
|
||||
canSelect: true,
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
@@ -184,7 +184,7 @@ export default {
|
||||
}
|
||||
|
||||
this.$emit("known-clear-session", uid);
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user