Hi,
In the old config.ru.example ( < 2.5.x ) it stated:
use Rack::Auth::Basic do
|username, password|
result =
EPIC::USERS[username] && (
EPIC::USERS[username][:digest] == Digest::MD5.hexdigest
[ username, EPIC::REALM, password ] * ':'
).to_s
)
# TODO: I think the following 3 lines are redundant, because ...
unless result
LOGGER.warn("Unauthorized. #{username} provided wrong ...
end
result
end
In the new one it only states:
use Rack::Auth::Basic do
|username, password|
result =
EPIC::USERS[username] && (
EPIC::USERS[username][:digest] == Digest::MD5.hexdigest(
[ username, EPIC::REALM, password ] * ':'
).to_s
)
result
end
There is no warning/message if the login fails in the restful interface. It gives only back the box to login again. Is that intentional?
Hi,
In the old config.ru.example ( < 2.5.x ) it stated:
In the new one it only states:
There is no warning/message if the login fails in the restful interface. It gives only back the box to login again. Is that intentional?