Always set the content type when it is known for node view.

This commit is contained in:
Jocelyn Fiat
2017-03-30 14:28:00 +02:00
parent 3072b99151
commit cd48fe182a
6 changed files with 21 additions and 8 deletions

View File

@@ -265,7 +265,7 @@ feature -- Hooks
if r.is_authenticated then
r.add_error_message ("You are already signed in!")
else
r.set_value ("Login", "optional_content_type")
r.set_optional_content_type ("Login")
end
r.execute
end