mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-16 21:18:19 +01:00
Fully remove the Strengthify integration
This commit is contained in:
parent
78ae11897c
commit
c0d9d9ceb8
@ -327,9 +327,6 @@ $(function () {
|
||||
.addClass("active");
|
||||
}
|
||||
|
||||
// Password strength
|
||||
$('.password-strength').strengthify();
|
||||
|
||||
// Check for updates.
|
||||
if ($('#update-alert').length > 0) {
|
||||
$.ajax({
|
||||
|
1
resources/assets/sass/dashboard.scss
vendored
1
resources/assets/sass/dashboard.scss
vendored
@ -22,6 +22,5 @@
|
||||
@import "plugins/sweetalert";
|
||||
@import "plugins/messenger";
|
||||
@import "plugins/animate";
|
||||
@import "plugins/password-strength";
|
||||
@import "plugins/sortable";
|
||||
/*! purgecss end ignore */
|
||||
|
@ -1,46 +0,0 @@
|
||||
.strengthify-wrapper > * {
|
||||
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
||||
filter: alpha(opacity=0);
|
||||
opacity: 0;
|
||||
-webkit-transition:all .5s ease-in-out;
|
||||
-moz-transition:all .5s ease-in-out;
|
||||
transition:all .5s ease-in-out;
|
||||
}
|
||||
|
||||
.strengthify-wrapper {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.strengthify-bg, .strengthify-container, .strengthify-wrapper, .strengthify-separator {
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
.strengthify-bg, .strengthify-container {
|
||||
display: block;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.strengthify-bg {
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
|
||||
.strengthify-separator {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
background-color: #ffffff;
|
||||
width: 2px;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.password-bad {
|
||||
background-color: $cachet-red;
|
||||
}
|
||||
|
||||
.password-medium {
|
||||
background-color: $cachet-yellow;
|
||||
}
|
||||
|
||||
.password-good {
|
||||
background-color: $cachet-green;
|
||||
}
|
@ -26,8 +26,7 @@
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>{{ trans('forms.user.password') }}</label>
|
||||
<input type="password" class="form-control password-strength" name="password" value="" {{ !$currentUser->isAdmin ? "disabled": "" }} placeholder="{{ trans('forms.user.password') }}">
|
||||
<div class="strengthify-wrapper"></div>
|
||||
<input type="password" class="form-control" name="password" value="" {{ !$currentUser->isAdmin ? "disabled": "" }} placeholder="{{ trans('forms.user.password') }}">
|
||||
</div>
|
||||
@if($currentUser->isAdmin)
|
||||
<div class="form-group">
|
||||
|
@ -205,8 +205,7 @@
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>{{ trans("forms.setup.password") }}</label>
|
||||
<input type="password" name="user[password]" class="form-control password-strength" placeholder="{{ trans('forms.setup.password') }}" value="{{ Binput::old('user.password', '') }}" required>
|
||||
<div class="strengthify-wrapper"></div>
|
||||
<input type="password" name="user[password]" class="form-control" placeholder="{{ trans('forms.setup.password') }}" value="{{ Binput::old('user.password', '') }}" required>
|
||||
@if($errors->has('user.password'))
|
||||
<span class="text-danger">{{ $errors->first('user.password') }}</span>
|
||||
@endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user