Add local user account manual unlock
Adds ability to manually unlock user account if account
service settings lockout duration set to 0.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: I75351c5e03bd5403e8dc7679d8d98b90adb90277
diff --git a/src/components/Global/Alert.vue b/src/components/Global/Alert.vue
index bc65b6e..d59b25c 100644
--- a/src/components/Global/Alert.vue
+++ b/src/components/Global/Alert.vue
@@ -1,5 +1,5 @@
<template>
- <b-alert :show="show" :variant="variant">
+ <b-alert :show="show" :variant="variant" :class="{ small }">
<div v-if="variant == 'warning' || variant == 'danger'" class="alert-icon">
<status-icon :status="variant" />
</div>
@@ -27,7 +27,15 @@
variant: {
type: String,
default: ''
- }
+ },
+ small: Boolean
}
};
</script>
+
+<style lang="scss" scoped>
+.alert.small {
+ padding: $spacer / 2;
+ font-size: 1rem;
+}
+</style>