Code Duplication    Length = 2-2 lines in 2 locations

Sources/Security.php 1 location

@@ 116-117 (lines=2) @@
113
		loadTheme();
114
115
	// Never redirect to an attachment
116
	if (strpos($_SERVER['REQUEST_URL'], 'dlattach') === false)
117
		$_SESSION['login_url'] = $_SERVER['REQUEST_URL'];
118
119
	// Load the Login template and language file.
120
	loadLanguage('Login');

Sources/Subs-Auth.php 1 location

@@ 220-221 (lines=2) @@
217
	createToken('login');
218
219
	// Never redirect to an attachment
220
	if (strpos($_SERVER['REQUEST_URL'], 'dlattach') === false)
221
		$_SESSION['login_url'] = $_SERVER['REQUEST_URL'];
222
223
	$context['sub_template'] = 'kick_guest';
224
	$context['page_title'] = $txt['login'];