mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 01:32:38 +00:00
Fixed user create handling in embedded mode (closes grocy/grocy-desktop#51)
This commit is contained in:
parent
33d5ec44d2
commit
4659f51551
@ -106,6 +106,7 @@
|
||||
@endif>
|
||||
<div class="invalid-feedback">{{ $__t('Passwords do not match') }}</div>
|
||||
</div>
|
||||
@endif
|
||||
@else
|
||||
<input type="hidden"
|
||||
name="password"
|
||||
@ -116,7 +117,6 @@
|
||||
id="password_confirm"
|
||||
value="x">
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@include('components.userfieldsform', array(
|
||||
'userfields' => $userfields,
|
||||
|
@ -25,10 +25,12 @@
|
||||
</div>
|
||||
<div class="related-links collapse d-md-flex order-2 width-xs-sm-100 m-1 mt-md-0 mb-md-0 float-right"
|
||||
id="related-links">
|
||||
@if(!defined('GROCY_EXTERNALLY_MANAGED_AUTHENTICATION'))
|
||||
<a class="btn btn-primary responsive-button"
|
||||
href="{{ $U('/user/new') }}">
|
||||
{{ $__t('Add') }}
|
||||
</a>
|
||||
@endif
|
||||
<a class="btn btn-outline-secondary m-1 mt-md-0 mb-md-0 float-right"
|
||||
href="{{ $U('/userfields?entity=users') }}">
|
||||
{{ $__t('Configure userfields') }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user