diff --git a/apps/files_sharing/templates/authenticate.php b/apps/files_sharing/templates/authenticate.php
index 9695caebf1831d88e4d8aeb56a12cd71a5c3041e..6bce6857ac8667ed80a197b674a0f0c55ebf4fce 100644
--- a/apps/files_sharing/templates/authenticate.php
+++ b/apps/files_sharing/templates/authenticate.php
@@ -1,8 +1,8 @@
 <form action="<?php echo $_['URL']; ?>" method="post">
 	<fieldset>
-		<p>
+		<p class="infield">
 			<label for="password" class="infield"><?php echo $l->t('Password'); ?></label>
-			<input type="password" name="password" id="password" value="" />
+			<input type="password" name="password" id="password" value="" autofocus />
 			<input type="submit" value="<?php echo $l->t('Submit'); ?>" />
 		</p>
 	</fieldset>