@n42/cli 0.1.67 → 0.1.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/auth.js +2 -4
package/package.json
CHANGED
package/src/auth.js
CHANGED
|
@@ -12,8 +12,7 @@ async function login() {
|
|
|
12
12
|
|
|
13
13
|
const username = await ask("Username", user.userMail ?? "");
|
|
14
14
|
const password = await ask("Password", null, true);
|
|
15
|
-
|
|
16
|
-
console.log(username + ", " + password);
|
|
15
|
+
//console.log(username + ", " + password);
|
|
17
16
|
|
|
18
17
|
let stopSpinner = startSpinner();
|
|
19
18
|
|
|
@@ -51,12 +50,11 @@ async function login() {
|
|
|
51
50
|
|
|
52
51
|
await checkAuth();
|
|
53
52
|
user = getUser();
|
|
53
|
+
stopSpinner();
|
|
54
54
|
|
|
55
55
|
console.log(
|
|
56
56
|
`Authenticated as ${user.userName} <${user.userMail}> (${user.role})`
|
|
57
57
|
);
|
|
58
|
-
|
|
59
|
-
stopSpinner();
|
|
60
58
|
}
|
|
61
59
|
|
|
62
60
|
function logout() {
|