View | Details | Raw Unified | Return to bug 46198
Collapse All | Expand All

(-)a/management/univention-management-console/www/login/index.html (-5 / +5 lines)
 Lines 29-53    Link Here 
29
					<div id="umcLoginNotices" class="umcLoginNotices"></div>
29
					<div id="umcLoginNotices" class="umcLoginNotices"></div>
30
					<form id="umcLoginForm" name="umcLoginForm" action="blank.html" method="post" class="umcLoginForm" autocomplete="on">
30
					<form id="umcLoginForm" name="umcLoginForm" action="blank.html" method="post" class="umcLoginForm" autocomplete="on">
31
						<label for="umcLoginUsername">
31
						<label for="umcLoginUsername">
32
							<input id="umcLoginUsername" name="username" type="text" autocomplete="on">
32
							<input id="umcLoginUsername" name="username" type="text" autocomplete="username">
33
						</label>
33
						</label>
34
						<label for="umcLoginPassword">
34
						<label for="umcLoginPassword">
35
							<input id="umcLoginPassword" name="password" type="password" autocomplete="on">
35
							<input id="umcLoginPassword" name="password" type="password" autocomplete="current-password">
36
						</label>
36
						</label>
37
						<input id="umcLoginSubmit" type="submit" name="submit" value="">
37
						<input id="umcLoginSubmit" type="submit" name="submit" value="">
38
					</form>
38
					</form>
39
					<form id="umcNewPasswordForm" name="umcLoginForm" action="blank.html" method="post" class="umcLoginForm" style="display: none;" autocomplete="off">
39
					<form id="umcNewPasswordForm" name="umcLoginForm" action="blank.html" method="post" class="umcLoginForm" style="display: none;" autocomplete="off">
40
						<label for="umcLoginNewPassword">
40
						<label for="umcLoginNewPassword">
41
							<input id="umcLoginNewPassword" name="new_password" type="password" autocomplete="off">
41
							<input id="umcLoginNewPassword" name="new_password" type="password" autocomplete="new-password">
42
						</label>
42
						</label>
43
						<label for="umcLoginNewPasswordRetype">
43
						<label for="umcLoginNewPasswordRetype">
44
							<input id="umcLoginNewPasswordRetype" type="password" autocomplete="off">
44
							<input id="umcLoginNewPasswordRetype" type="password" autocomplete="new-password">
45
						</label>
45
						</label>
46
						<input id="umcNewPasswordSubmit" type="submit" name="submit" value="">
46
						<input id="umcNewPasswordSubmit" type="submit" name="submit" value="">
47
					</form>
47
					</form>
48
					<form id="umcCustomPromptForm" name="umcCustomPromptForm" action="blank.html" method="post" class="umcLoginForm" style="display: none;" autocomplete="off">
48
					<form id="umcCustomPromptForm" name="umcCustomPromptForm" action="blank.html" method="post" class="umcLoginForm" style="display: none;" autocomplete="off">
49
						<label for="umcLoginCustomPrompt">
49
						<label for="umcLoginCustomPrompt">
50
							<input id="umcLoginCustomPrompt" type="password" autocomplete="off">
50
							<input id="umcLoginCustomPrompt" type="password" autocomplete="current-password">
51
						</label>
51
						</label>
52
						<input id="umcCustomPromptSubmit" type="submit" name="submit" value="">
52
						<input id="umcCustomPromptSubmit" type="submit" name="submit" value="">
53
					</form>
53
					</form>
(-)a/management/univention-management-console/www/login/login.html (-2 / +2 lines)
 Lines 11-20    Link Here 
11
	<body>
11
	<body>
12
		<form id="umcLoginForm" name="umcLoginForm" action="blank.html" method="post" class="umcLoginForm" autocomplete="on">
12
		<form id="umcLoginForm" name="umcLoginForm" action="blank.html" method="post" class="umcLoginForm" autocomplete="on">
13
			<label for="umcLoginUsername">
13
			<label for="umcLoginUsername">
14
				<input placeholder="Username" id="umcLoginUsername" name="username" type="text" autocomplete="on"/>
14
				<input placeholder="Username" id="umcLoginUsername" name="username" type="text" autocomplete="username"/>
15
			</label>
15
			</label>
16
			<label for="umcLoginPassword">
16
			<label for="umcLoginPassword">
17
				<input placeholder="Password" id="umcLoginPassword" name="password" type="password" autocomplete="on"/>
17
				<input placeholder="Password" id="umcLoginPassword" name="password" type="password" autocomplete="current-password"/>
18
				<input id="umcLoginSubmit" type="submit" name="submit" value="Login"/>
18
				<input id="umcLoginSubmit" type="submit" name="submit" value="Login"/>
19
			</label>
19
			</label>
20
		</form>
20
		</form>
(-)a/management/univention-web/js/widgets/PasswordBox.js (-4 / +10 lines)
 Lines 30-41    Link Here 
30
30
31
define([
31
define([
32
	"dojo/_base/declare",
32
	"dojo/_base/declare",
33
	"dojo/dom-attr",
33
	"umc/widgets/TextBox",
34
	"umc/widgets/TextBox",
34
	"umc/widgets/_FormWidgetMixin"
35
	"umc/widgets/_FormWidgetMixin"
35
], function(declare, TextBox, _FormWidgetMixin) {
36
], function(declare, domAttr, TextBox, _FormWidgetMixin) {
36
	return declare("umc.widgets.PasswordBox", [ TextBox, _FormWidgetMixin ], {
37
	return declare("umc.widgets.PasswordBox", [ TextBox, _FormWidgetMixin ], {
37
		type: 'password'
38
		type: 'password',
39
		buildRendering: function() {
40
			this.inherited(arguments);
41
			domAttr.set(this, 'autocomplete', 'new-password');
42
		},
43
		postCreate: function() {
44
			this.inherited(arguments);
45
		}
38
	});
46
	});
39
});
47
});
40
41
(-)a/saml/univention-saml/simplesamlphp-modules/univentiontheme/themes/univention/core/loginuserpass.php (-3 / +2 lines)
 Lines 21-30   if (isset($this->data['SPMetadata']['privacypolicy'])) { Link Here 
21
					<div id="umcLoginNotices" class="umcLoginNotices" style="display: none;"></div>
21
					<div id="umcLoginNotices" class="umcLoginNotices" style="display: none;"></div>
22
					<form id="umcLoginForm" name="umcLoginForm" action="?" method="post" class="umcLoginForm" autocomplete="on">
22
					<form id="umcLoginForm" name="umcLoginForm" action="?" method="post" class="umcLoginForm" autocomplete="on">
23
						<label for="umcLoginUsername">
23
						<label for="umcLoginUsername">
24
							<input placeholder="<?php echo htmlspecialchars($this->t('{login:username}')); ?>" id="umcLoginUsername" name="username" type="text" autocomplete="on"  tabindex="1" value="<?php echo htmlspecialchars($this->data['username']); ?>" <?php echo $this->data['forceUsername'] ? 'readonly' : ''; ?>/>
24
							<input placeholder="<?php echo htmlspecialchars($this->t('{login:username}')); ?>" id="umcLoginUsername" name="username" type="text" autocomplete="username"  tabindex="1" value="<?php echo htmlspecialchars($this->data['username']); ?>" <?php echo $this->data['forceUsername'] ? 'readonly' : ''; ?>/>
25
						</label>
25
						</label>
26
						<label for="umcLoginPassword">
26
						<label for="umcLoginPassword">
27
							<input placeholder="<?php echo htmlspecialchars($this->t('{login:password}')); ?>" id="umcLoginPassword" name="password" type="password" tabindex="2" autocomplete="on"/>
27
							<input placeholder="<?php echo htmlspecialchars($this->t('{login:password}')); ?>" id="umcLoginPassword" name="password" type="password" tabindex="2" autocomplete="current-password"/>
28
						</label>
28
						</label>
29
						<div id="umcLoginWarnings" class="umcLoginWarnings">
29
						<div id="umcLoginWarnings" class="umcLoginWarnings">
30
<?php
30
<?php
31
- 

Return to bug 46198