Merge branch 'MDL-75083-MOODLE_400_STABLE' of https://github.com/rzhtwberlin/moodle into MOODLE_400_STABLE
This commit is contained in:
@@ -180,7 +180,7 @@
|
||||
<input type="hidden" name="logintoken" value="{{logintoken}}">
|
||||
<input type="hidden" name="username" value="guest" />
|
||||
<input type="hidden" name="password" value="guest" />
|
||||
<button class="btn btn-secondary" type="submit">{{#str}}loginguest{{/str}}</button>
|
||||
<button class="btn btn-secondary" type="submit" id="loginguestbtn">{{#str}}loginguest{{/str}}</button>
|
||||
</form>
|
||||
{{/canloginasguest}}
|
||||
<div class="login-divider"></div>
|
||||
@@ -213,4 +213,8 @@
|
||||
{{#error}}
|
||||
document.getElementById('loginerrormessage').focus();
|
||||
{{/error}}
|
||||
require(['core_form/submit'], function(Submit) {
|
||||
Submit.init("loginbtn");
|
||||
Submit.init("loginguestbtn");
|
||||
});
|
||||
{{/js}}
|
||||
|
||||
Reference in New Issue
Block a user